﻿namespace HelperFromTheSkeleton.Common.Model
{
    public class LogDBConnectionModel
    {
        /// <summary>
        /// 链接地址
        /// </summary>
        public string? Address { get; set; }

        /// <summary>
        /// 端口
        /// </summary>
        public int Port { get; set; } = 1433;

        /// <summary>
        /// 数据库名称
        /// </summary>
        public string? DBName { get; set; }

        /// <summary>
        /// 用户
        /// </summary>
        public string? User { get; set; }

        /// <summary>
        /// 密码
        /// </summary>
        public string? Password { get; set; }

        /// <summary>
        /// 信任服务器证书
        /// </summary>
        public bool TrustServerCertificate { get; set; } = true;
    }
}
